from .ui import Icon

from .prompts import SingleBox, CheckBox, Input


class Func:
    list = SingleBox
    checkbox = CheckBox
    input = Input


def prompt(opt):
    assert 'type' in opt.keys(), "Hey, here no type please check your option"
    return opt['type'](opt).run()
